package com.hk.blog.service;

import com.hk.blog.domain.UserRole;
import com.hk.blog.vo.UserRoleBean;
import com.hk.core.service.jpa.JpaBaseService;

import java.util.Set;

/**
 * @author Kevin
 * @date 2022-07-02 20:44
 */
public interface UserRoleService extends JpaBaseService<UserRole, Long> {

    void updateRole(UserRoleBean body);

    Set<Long> findRoleIdByUserId(Long userId);
}
